package cn.zb.zbrhback.auth.mapper;

import cn.zb.zbrhback.auth.domain.Permission;
import cn.zb.zbrhback.auth.domain.PermissionQuery;
import cn.zb.zbrhback.basic.mapper.BaseMapper;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {
    void batchInsert(List<Permission> permissions);

    void removeAll();

    List<Permission> loadTree();

    List<String> getPermissionSns();

    List<String> loadSnsByUserId(Long id);
}
